package vip

import (
	"zstackgo/spring"
)

func init() {
	o := new(VirtualRouterVipBackend)
	spring.Register(o, "VirtualRouterVipBackend", []*spring.PluginExtension{
		{
			Interface: "network.service.vip.VipBackend",
		},
		{
			Interface: "header.network.service.VirtualRouterAfterAttachNicExtensionPoint",
			Order:     999,
		},
		{
			Interface: "header.network.service.VirtualRouterBeforeDetachNicExtensionPoint",
			Order:     -1,
		},
		{
			Interface: "network.service.vip.PreVipReleaseExtensionPoint",
			Order:     -1,
		},
		{
			Interface: "header.network.service.VirtualRouterHaGetCallbackExtensionPoint",
		},
		{
			Interface: "header.vm.ReleaseNetworkServiceOnDetachingNicExtensionPoint",
		},
	})
}

type VirtualRouterVipBackend struct {
}
